Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NPdfExporter<TContent> Class / SaveToFileAsync Method / SaveToFileAsync(NFile) Method
The file to save to. If the file already exists, it is overwritten.


In This Topic
    SaveToFileAsync(NFile) Method
    In This Topic
    Renders the document as PDF to the specified file.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function SaveToFileAsync( _
       ByVal file As NFile _
    ) As NPromise(Of NUndefined)
    'Usage
     
    
    Dim instance As NPdfExporter(Of TContent)
    Dim file As NFile
    Dim value As NPromise(Of NUndefined)
     
    value = instance.SaveToFileAsync(file)
    public virtual NPromise<NUndefined> SaveToFileAsync( 
       NFile file
    )

    Parameters

    file
    The file to save to. If the file already exists, it is overwritten.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also